-
Notifications
You must be signed in to change notification settings - Fork 699
[ET-VK][BE] Move all ops to use DynamicDispatchNode
#13098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
## Changes Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`. ## Context `DynamicDispatchNode` was introduced in order to provide a way for operators to adjust 1. Which compute shader to dispatch 2. What global work group size to use 3. What local work group size to use Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations. Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13098
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 3 New Failures, 1 Unrelated FailureAs of commit 7a87735 with merge base ec35f56 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
## Changes Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`. ## Context `DynamicDispatchNode` was introduced in order to provide a way for operators to adjust 1. Which compute shader to dispatch 2. What global work group size to use 3. What local work group size to use Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations. Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/) ghstack-source-id: 300552325 Pull Request resolved: #13098
|
This pull request was exported from Phabricator. Differential Revision: D79564595 |
This PR needs a
|
## Changes Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`. ## Context `DynamicDispatchNode` was introduced in order to provide a way for operators to adjust 1. Which compute shader to dispatch 2. What global work group size to use 3. What local work group size to use Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations. Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D79564595 |
Stack from ghstack (oldest at bottom):
DynamicDispatchNode#13119DynamicDispatchNode#13098get_tensor()API protected #13097vTensorPtrandget_tensor#13096Changes
Update (almost) all operators use
DynamicDispatchNodeinstead ofDispatchNode.Context
DynamicDispatchNodewas introduced in order to provide a way for operators to adjustBased on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations.
Differential Revision: D79564595